home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr37
/
aussiebb.zip
/
MAILSCAN.ZIP
/
MAILSCAN.DOC
< prev
next >
Wrap
Text File
|
1992-06-13
|
8KB
|
185 lines
MailScan Utility
for the Verifier Door
Version 1.0
By: Lance Williams
Kadet PCBoard
Camden, NY
(315) 245-3815
USR Dual Standard
MailScan is a utility for registered versions of the Verifier Door
and Mailing List Utility package. This program will search for an
entry in the MAILLIST.DAT file for the current user, and if found
create a display file to be shown to the user. The program is designed
to be run in your $$LOGON.BAT file, and you can then display the file
created within the caller's security file using the PCBoard %filespec
macro. It is quite fast, taking only 3-5 seconds to search a 500
record file and create the display screen on a 386-25 under DESQview (2
nodes running). The program keeps track of the last date checked in
the MAILLIST.DAT file, and creates the display file either yearly,
quarterly or monthly, depending on your configuration setting. If it's
not time for a file to be created, a zero length file will be created
in it's place.
Files used by the program:
MAILSCAN.EXE The main executable program.
MAILSCAN.CFG The configuration file, one for each node, I use
SCAN1.CFG and SCAN2.CFG.
MAILSCAN.DAT The "master copy" of the display screen, with
substitution macros for information.
$$LOGON.BAT The batch processing file that PCBoard executes when a
caller logs onto the system.
Using the Program:
The MAILSCAN.EXE file *MUST* be run from the directory you run
your Verifier Door. It has to be able to access your MAILLIST.DAT file
to get information for the current user. Run the MAILSCAN.EXE program
with the proper configuration file from within your $$LOGON.BAT file
for PCBoard. The program will create a screen from your MAILSCAN.DAT
file, which is a master copy which contains substitution macros for
placement of the address information.
__________________________________________________________________
Kadet PCBoard, (315) 245-3815, USR Dual Std. Page 1
MailScan Utility for The Verifier Door Lance Williams, Author
The following PCBoard style macros are available to this program:
Macro Description
───────────── ──────────────────────────────────────────────────
@MAILNAME@ This is the Mailing Name for the current user.
@MAILADDRESS@ This is the Mailing Address for the current user.
@MAILCITY@ This is the City, State, ZIP for the current user.
The master copy of the display copy *MUST* be named MAILSCAN.DAT. Only
the above macros are available. This is for fastest processing. Of
course, since it is a PCBoard display screen, any PCBoard @macro@ can
also be used, they will be processed when PCBoard displays the file.
Configuration File Format:
There must be a separate configuration file for each node you are
running MAILSCAN on. The configuration file is the only command line
parameter for the program. The configuration file has the following
format:
Line 1: Path/Filename of this node's PCBOARD.SYS file.
Line 2: System Name (Same as in VERIFIER.CFG)
Line 3: Sysop's First Name (Same as in VERIFIER.CFG)
Line 4: Sysop's Last Name (Same as in VERIFIER.CFG)
Line 5: Registration Number
Line 6: How often to create the address information screen.
This can be one of the following:
YEAR: Checks yearly.
QUARTER: Checks every 3 months
MONTH: Checks monthly.
Line 7: Path/filename of the display file to write
For multi-node operations, I use the same filename, with
different path information so each node doesn't overwrite
the other node's information. I save them into identically
named subdirectories off the default PCBoard node directory
so you can access them easily with the security files. IE:
Node 1: C:\PCB\GEN\ADDRESS
Node 2: C:\PCB2\GEN\ADDRESS
Sample Configuration Files:
SCAN1.CFG: SCAN2.CFG
C:\PCB\PCBOARD.SYS C:\PCB2\PCBOARD.SYS
Kadet PCBoard Kadet PCBoard
Lance Lance
Williams Williams
0 0
QUARTER QUARTER
C:\PCB\GEN\ADDRESS C:\PCB2\GEN\ADDRESS
__________________________________________________________________
Kadet PCBoard, (315) 245-3815, USR Dual Std. Page 2
MailScan Utility for The Verifier Door Lance Williams, Author
Having PCBoard Display the File:
If you use the %Filespec macro in your security screens for your
users, the created screen will be displayed to the user. See your
PCBoard 14.5a documentation for usage of the %Filespec variable. By
using an incomplete pathname to display the file, I don't have to have
separate security files for each node. Here is an example of I display
the information screen:
User Security File:
@QOFF@
%C:\PCB\GEN\STATS.TXT User Status screen I have.
@WAIT@
%GEN\ADDRESS Screen created by MAILSCAN.EXE
@QON@
Notes:
I have found this utility useful in having users update their
mailing address when they have moved. If you use it, you may find the
same thing. If you have any problems with it, let me know. Remember,
this program only works with registered versions.
License Agreement
The MailScan Utility ("The Software") is COPYRIGHT 1992 by Lance
Williams, ALL RIGHTS RESERVED. You may not engage in, nor permit third
parties to engage in, any of the following :
A) Making alterations of any kind in the software.
B) ATTEMPTING TO DISASSEMBLE, DECOMPILE, OR REVERSE ENGINEER
THE SOFTWARE OR THE FILES IT GENERATES IN ANY WAY.
C) Granting sub-licenses, lease or other rights in the
software to others.
D) This release is SHAREWARE, if you continue to use this
package for more than 3 weeks, you must register it with
the author.
The author of the software grants you a license to use this
software as long as you meet the above conditions. Any violation of
the above conditions will result in the termination of your license to
use this software. Upon termination of this license for any reason,
you must stop using the software and destroy all copies of it in your
possession immediately. In addition, the author reserves the right to
cancel your license to use this software at any time for any reason
that he sees fit.
The author of this software is not liable for damages suffered as
a result of the improper use, proper use, or inability to use this
software. This type of disclaimer is prohibited by law in some states,
and is therefore void in those states.
__________________________________________________________________
Kadet PCBoard, (315) 245-3815, USR Dual Std. Page 3